package com.gin.kotlin.gf2gamecommunity.pagingsource

import com.gin.kotlin.gf2gamecommunity.app.App
import com.gin.kotlin.response.ListData
import com.gin.kotlin.response.user.UserInfoSimple

class UserFansPagingSource(private val userId: Int) : AbstractListDataPagingSource<UserInfoSimple, ListData<UserInfoSimple>>() {
    override fun request(page: Int, size: Int) = App.INSTANCE.api.userApi.fans(userId, page, size)

    companion object {
        private val TAG = UserFansPagingSource::class.java.simpleName
    }
}